package com.fofia.iotweb.framework.core;


import org.noear.redisx.RedisClient;
import org.noear.solon.annotation.Bean;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Inject;
import org.noear.solon.data.cache.CacheService;

@Configuration
public class RedisxConfig {
    // 构建 redis client（如直接用）
    @Bean
    public RedisClient redisClient(@Inject("${iotweb.redis}") RedisClient client) {
        return client;
    }

}
